Feature: Procedure Test

  @Procedure
  Scenario: Echo(message)
    Given echo "@{message}"

  @Procedure
  Scenario: CountNumber(num)
    Given invoke "Echo" with arguments
      | message | I count @{num} |

  @Procedure
  Scenario: Count3()
    Given invoke "CountNumber" with arguments
      | num | 3 |

  @Procedure
  Scenario: Count2()
    Given invoke "CountNumber" with arguments
      | num | 2 |

  @Procedure
  Scenario: Count1()
    Given invoke "CountNumber" with arguments
      | num | 1 |


  Scenario:
    Given print procedure
    Given invoke "Echo" with arguments
      | message | here! |
    Given invoke "Count3"
    Given invoke "Count2"
    Given invoke "Count1"